Update gnus-draft-check-draft-articles to use find-buffer-visiting
authorEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 10 May 2024 19:38:57 +0000 (12:38 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 10 May 2024 19:38:57 +0000 (12:38 -0700)
commit41bfca00051b590c24fca9e8614b67724fab272d
treee7c8f9992740183257e90112823a40537925f939
parentb1e94b7bd3b18fdae66d172c7c72398d6f0d5225
Update gnus-draft-check-draft-articles to use find-buffer-visiting

* lisp/gnus/gnus-draft.el (gnus-draft-check-draft-articles): Don't loop
through all the buffers; this removes the need for the `file-remote-p'
check. Also give the user some nicer feedback about what's going on.
lisp/gnus/gnus-draft.el